<template>
  <div>
    <van-cell center title='海报生成成功' />
    <van-image width='100%' height='100%' :src=Banner />
  </div>
</template>

<script>
import { spreadBanner } from '@/api/commission.js'

export default {
  data() {
    return {
      Banner: ''
    }
  },
  created() {
    this.getBanner()
  },
  methods: {
    getBanner() {
      spreadBanner().then(res => {
        var url = res.data[0].wap_poster
        var img = url.replace('127.0.0.1', '192.168.200.221')
        this.Banner = img

      })
    }
  }
}
</script>

<style lang='sass' scoped>

</style>
